package wx.request;

/**
 * @author zhanglinfeng
 * @date create in 2022/5/25 10:53
 */
public class RefundInfo {
    /** 公众账号ID*/
    private String appid;
    /** 商户号*/
    private String mch_id;
    /** 随机字符串*/
    private String nonce_str;
    /** 签名类型,默认MD5*/
    private String sign_type = "MD5";
    /** 微信支付订单号*/
    private String transaction_id;
    /** 商户退款单号*/
    private String out_refund_no;
    /** 订单金额*/
    private int total_fee;
    /** 退款金额*/
    private int refund_fee;
    /** 退款货币种类,默认人民币：CNY*/
    private String refund_fee_type = "CNY";
    /** 退款原因*/
    private String refund_desc;
    /** 退款结果通知url*/
    private String notify_url;

    public RefundInfo() {
    }

    public RefundInfo(String appid, String mch_id, String nonce_str, String transaction_id, String out_refund_no, int total_fee, int refund_fee, String refund_desc, String notify_url) {
        this.appid = appid;
        this.mch_id = mch_id;
        this.nonce_str = nonce_str;
        this.transaction_id = transaction_id;
        this.out_refund_no = out_refund_no;
        this.total_fee = total_fee;
        this.refund_fee = refund_fee;
        this.refund_desc = refund_desc;
        this.notify_url = notify_url;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMch_id() {
        return mch_id;
    }

    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }

    public String getNonce_str() {
        return nonce_str;
    }

    public void setNonce_str(String nonce_str) {
        this.nonce_str = nonce_str;
    }

    public String getSign_type() {
        return sign_type;
    }

    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public void setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
    }

    public String getOut_refund_no() {
        return out_refund_no;
    }

    public void setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
    }

    public int getTotal_fee() {
        return total_fee;
    }

    public void setTotal_fee(int total_fee) {
        this.total_fee = total_fee;
    }

    public int getRefund_fee() {
        return refund_fee;
    }

    public void setRefund_fee(int refund_fee) {
        this.refund_fee = refund_fee;
    }

    public String getRefund_fee_type() {
        return refund_fee_type;
    }

    public void setRefund_fee_type(String refund_fee_type) {
        this.refund_fee_type = refund_fee_type;
    }

    public String getRefund_desc() {
        return refund_desc;
    }

    public void setRefund_desc(String refund_desc) {
        this.refund_desc = refund_desc;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }
}
